package connect4client.commands;


import messages.*;


/**
 * The AccountRemotionSuccessful command.
 * 
 * This command will handle AccountRemotionSuccessful messages.
 */
public class AccountRemotionSuccessfulCommand extends Command {

	public AccountRemotionSuccessfulCommand(AccountRemotionSuccessfulMessage message){
		super(message);
	}
	
	@Override
	public void execute() {
		AccountRemotionSuccessfulMessage message = (AccountRemotionSuccessfulMessage) this.message;		
		guiMediator.accountRemotionSuccessful(message.getSenderLogin(), message.getLogin());		
	}
}
